import { createApp } from 'vue'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import './App.css';
import App from './App.vue'
import router from './router'
import store from './store'
import Api from "@/common/Api"

// export default {
// 	install: (app: any) => {
// 		app.config.globalProperties.$Api = Api;
// 	}
// };

const app = createApp(App);
app.use(ElementPlus).use(store).use(router).mount('#app');


app.config.globalProperties.$Api = Api;